package com.woniuxy.service;

import com.woniuxy.entity.Camp;
import com.woniuxy.vo.CampVO;

import java.util.List;
import java.util.Map;

/*
 * 营地住宿
 */
public interface CampService {
    //查询所有的营地
    List<Camp> selectAllCamp();

    //条件查询营地
    List<CampVO> selectCampByExample(Map<String, Object> map);

    //根据城市id查询营地
    List<Camp> selectCampByCityId(Integer cityId);

    //根据营地id查询营地详情
    Camp selectCampByCampId(Integer campId);

    //根据营地名查询营地id
    int selectCampIdByCampName(String campName)throws Exception;

    List<CampVO> selectAllCampVO() throws Exception;
}
